#ifndef __CRUSHSTOP_H_
#define __CRUSHSTOP_H_

#define POWERDOWN_STATUS_PIN               GET_PIN(B, 0)
#define JITING_BUTTON_PIN                  GET_PIN(E,11)
#define JITING_THREAD_STACK_SIZE           256
#define JITING_THREAD_PRIORITY             (RT_THREAD_PRIORITY_MAX/2)

static void JiTingThread_Entry(void* parameter);

void JitingKeyScan_process(void);

 void CrushStop_Pin_Set(void);
 void CrushStop_Pin_Nvic_Attach_Function(void *args);
unsigned char ChargeCtrl_GetJiTingStatus(void);
void PowerCheck_process(void);
unsigned char isPowerOff(void);

#endif



